package com.szsh.aiot.hsm;

import com.ctrip.framework.apollo.spring.annotation.EnableApolloConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication(scanBasePackages = {"com.szsh.aiot"})
@MapperScan(basePackages = {"com.szsh.aiot.hsm.dao","com.szsh.aiot.hsm.mapper","com.szsh.aiot.framework.config"})
@EnableApolloConfig
public class HsmApplication {

    public static void main(String[] args) {
        // 本地调试 设置
//        System.setProperty("apollo.config-service", "http://127.0.0.1:8080");
        SpringApplication.run(HsmApplication.class, args);
    }

}
